package com.market.bean.vo.wx;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author 2731235517@qq.com 谢畅
 * @since 2022/12/31 21:18
 */
@Data
public class WxOrderDetailVo {

    private List<?> expressInfo;
    private OrderInfoEntity orderInfo;
    private List<OrderGoodsEntity> orderGoods;

    @Data
    public class OrderInfoEntity {
        private String consignee;
        private String address;
        private Date addTime;
        private String orderSn;
        private BigDecimal actualPrice;
        private String mobile;
        private String message;
        private String orderStatusText;
        private int aftersaleStatus;
        private BigDecimal goodsPrice;
        private BigDecimal couponPrice;
        private int id;
        private BigDecimal freightPrice;
        private HandleOptionEntity handleOption;
    }

    @Data
    @AllArgsConstructor
    public class OrderGoodsEntity {
        private int id;
        private int orderId;
        private int goodsId;
        private String goodsName;
        private String goodsSn;
        private int number;
        private BigDecimal price;
        private int productId;
        private String picUrl;
        private String specifications;
        private int comment;
        private Date addTime;
        private Date updateTime;
        private boolean deleted;
    }
}
